package com.jelly.designpattern.decorator;

public class TagTest {
	public static void main(String[] args) {     
	    
        TagComponent tagComponent = new BrandSaleTag();     
    
        TagDecorator decorator = new NewGoodsTag(new HotSaleTag(tagComponent));     
        decorator.addTag();     
    }   
}
